package com.beiing.tianshuai.tianshuai.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by LZQ on 2017/12/8.
 */

public class SearchResultBean extends BaseBean {


    /**
     * code : 400
     * data : {"active":[{"id":"328","strech":"您有一张\u201c群星演唱会\u201d门票待领取","sponsor":"湖南卫视国际频道","cover":"5a2137405ad78.jpg","view":"1344","contact":"李丽","location":"橘子洲乐园","action_time":"1512770400","exit_time":"1512784800","lessons":" 12月9日首届中国美业工匠节，这一次，全国人民，嗨起来！","uid":"2","uname":"天率校园","photo":"5a123c6024f1a.jpg","unit":"天率科技"},{"id":"257","strech":"中国第一女Rapper\u2014\u2014VaVa《21》Tour 2017中国巡演火爆开启","sponsor":"万有音乐系","cover":"59df81be5154e.png","view":"399","contact":"","location":"各大城市","action_time":"1508882400","exit_time":"1512270000","lessons":"能进到人心里的声音\r\n就不需要太多的文字","uid":"2","uname":"天率校园","photo":"5a123c6024f1a.jpg","unit":"天率科技"}],"fresh":[{"id":"547","u_id":"540","title":"一路同行、合作共赢","cover":"5a279d2b00f17.png","view":"34","cover_count":"3","abstract":null,"review":"0","create_time":"1512545579","name":"定昌","photo":"59ba74e10d311.jpg"},{"id":"546","u_id":"558","title":"腾讯音乐人月亮沙龙第一期","cover":"5a27765660d84.png","view":"9","cover_count":"3","abstract":null,"review":"0","create_time":"1512535638","name":"程东","photo":"otkNEwdqCD7xQ8A1nVpslEhuKRT4.jpg"}],"video":[{"name":"杨金达","photo":"5a269786d0a5b.jpg","id":"5","uid":"535","tid":"5","title":"我是一个北漂程序员，没有假装在生活","keys":null,"content":"我是一个北漂程序员，没有假装在生活","url":"https://v.qq.com/iframe/player.html?vid=m05021e18v5&tiny=0&auto=0","cover":"5a293b0b72e25.jpg","status":"1","view":"38","comment":"0","choice":"0","create_time":"1512651531","tname":"生活"}],"number":"数据为空"}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * active : [{"id":"328","strech":"您有一张\u201c群星演唱会\u201d门票待领取","sponsor":"湖南卫视国际频道","cover":"5a2137405ad78.jpg","view":"1344","contact":"李丽","location":"橘子洲乐园","action_time":"1512770400","exit_time":"1512784800","lessons":" 12月9日首届中国美业工匠节，这一次，全国人民，嗨起来！","uid":"2","uname":"天率校园","photo":"5a123c6024f1a.jpg","unit":"天率科技"},{"id":"257","strech":"中国第一女Rapper\u2014\u2014VaVa《21》Tour 2017中国巡演火爆开启","sponsor":"万有音乐系","cover":"59df81be5154e.png","view":"399","contact":"","location":"各大城市","action_time":"1508882400","exit_time":"1512270000","lessons":"能进到人心里的声音\r\n就不需要太多的文字","uid":"2","uname":"天率校园","photo":"5a123c6024f1a.jpg","unit":"天率科技"}]
         * fresh : [{"id":"547","u_id":"540","title":"一路同行、合作共赢","cover":"5a279d2b00f17.png","view":"34","cover_count":"3","abstract":null,"review":"0","create_time":"1512545579","name":"定昌","photo":"59ba74e10d311.jpg"},{"id":"546","u_id":"558","title":"腾讯音乐人月亮沙龙第一期","cover":"5a27765660d84.png","view":"9","cover_count":"3","abstract":null,"review":"0","create_time":"1512535638","name":"程东","photo":"otkNEwdqCD7xQ8A1nVpslEhuKRT4.jpg"}]
         * video : [{"name":"杨金达","photo":"5a269786d0a5b.jpg","id":"5","uid":"535","tid":"5","title":"我是一个北漂程序员，没有假装在生活","keys":null,"content":"我是一个北漂程序员，没有假装在生活","url":"https://v.qq.com/iframe/player.html?vid=m05021e18v5&tiny=0&auto=0","cover":"5a293b0b72e25.jpg","status":"1","view":"38","comment":"0","choice":"0","create_time":"1512651531","tname":"生活"}]
         * number : 数据为空
         */

        @SerializedName("number")
        private String number;
        @SerializedName("active")
        private List<ActiveBean> active;
        @SerializedName("fresh")
        private List<FreshBean> fresh;
        @SerializedName("video")
        private List<VideoBean> video;

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public List<ActiveBean> getActive() {
            return active;
        }

        public void setActive(List<ActiveBean> active) {
            this.active = active;
        }

        public List<FreshBean> getFresh() {
            return fresh;
        }

        public void setFresh(List<FreshBean> fresh) {
            this.fresh = fresh;
        }

        public List<VideoBean> getVideo() {
            return video;
        }

        public void setVideo(List<VideoBean> video) {
            this.video = video;
        }

        public static class ActiveBean {
            /**
             * id : 328
             * strech : 您有一张“群星演唱会”门票待领取
             * sponsor : 湖南卫视国际频道
             * cover : 5a2137405ad78.jpg
             * view : 1344
             * contact : 李丽
             * location : 橘子洲乐园
             * action_time : 1512770400
             * exit_time : 1512784800
             * lessons :  12月9日首届中国美业工匠节，这一次，全国人民，嗨起来！
             * uid : 2
             * uname : 天率校园
             * photo : 5a123c6024f1a.jpg
             * unit : 天率科技
             */

            @SerializedName("id")
            private String id;
            @SerializedName("strech")
            private String strech;
            @SerializedName("sponsor")
            private String sponsor;
            @SerializedName("cover")
            private String cover;
            @SerializedName("view")
            private String view;
            @SerializedName("contact")
            private String contact;
            @SerializedName("location")
            private String location;
            @SerializedName("action_time")
            private String actionTime;
            @SerializedName("exit_time")
            private String exitTime;
            @SerializedName("lessons")
            private String lessons;
            @SerializedName("uid")
            private String uid;
            @SerializedName("uname")
            private String uname;
            @SerializedName("photo")
            private String photo;
            @SerializedName("unit")
            private String unit;
            @SerializedName("type")
            private String type;

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStrech() {
                return strech;
            }

            public void setStrech(String strech) {
                this.strech = strech;
            }

            public String getSponsor() {
                return sponsor;
            }

            public void setSponsor(String sponsor) {
                this.sponsor = sponsor;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getView() {
                return view;
            }

            public void setView(String view) {
                this.view = view;
            }

            public String getContact() {
                return contact;
            }

            public void setContact(String contact) {
                this.contact = contact;
            }

            public String getLocation() {
                return location;
            }

            public void setLocation(String location) {
                this.location = location;
            }

            public String getActionTime() {
                return actionTime;
            }

            public void setActionTime(String actionTime) {
                this.actionTime = actionTime;
            }

            public String getExitTime() {
                return exitTime;
            }

            public void setExitTime(String exitTime) {
                this.exitTime = exitTime;
            }

            public String getLessons() {
                return lessons;
            }

            public void setLessons(String lessons) {
                this.lessons = lessons;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getUname() {
                return uname;
            }

            public void setUname(String uname) {
                this.uname = uname;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }
        }

        public static class FreshBean {
            /**
             * id : 547
             * u_id : 540
             * title : 一路同行、合作共赢
             * cover : 5a279d2b00f17.png
             * view : 34
             * cover_count : 3
             * abstract : null
             * review : 0
             * create_time : 1512545579
             * name : 定昌
             * photo : 59ba74e10d311.jpg
             */

            @SerializedName("id")
            private String id;
            @SerializedName("u_id")
            private String uId;
            @SerializedName("title")
            private String title;
            @SerializedName("cover")
            private String cover;
            @SerializedName("view")
            private String view;
            @SerializedName("cover_count")
            private String coverCount;
            @SerializedName("abstract")
            private Object abstractX;
            @SerializedName("review")
            private String review;
            @SerializedName("create_time")
            private String createTime;
            @SerializedName("name")
            private String name;
            @SerializedName("photo")
            private String photo;
            @SerializedName("type")
            private String type;

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUId() {
                return uId;
            }

            public void setUId(String uId) {
                this.uId = uId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getView() {
                return view;
            }

            public void setView(String view) {
                this.view = view;
            }

            public String getCoverCount() {
                return coverCount;
            }

            public void setCoverCount(String coverCount) {
                this.coverCount = coverCount;
            }

            public Object getAbstractX() {
                return abstractX;
            }

            public void setAbstractX(Object abstractX) {
                this.abstractX = abstractX;
            }

            public String getReview() {
                return review;
            }

            public void setReview(String review) {
                this.review = review;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }
        }

        public static class VideoBean {
            /**
             * name : 杨金达
             * photo : 5a269786d0a5b.jpg
             * id : 5
             * uid : 535
             * tid : 5
             * title : 我是一个北漂程序员，没有假装在生活
             * keys : null
             * content : 我是一个北漂程序员，没有假装在生活
             * url : https://v.qq.com/iframe/player.html?vid=m05021e18v5&tiny=0&auto=0
             * cover : 5a293b0b72e25.jpg
             * status : 1
             * view : 38
             * comment : 0
             * choice : 0
             * create_time : 1512651531
             * tname : 生活
             */

            @SerializedName("name")
            private String name;
            @SerializedName("photo")
            private String photo;
            @SerializedName("id")
            private String id;
            @SerializedName("uid")
            private String uid;
            @SerializedName("tid")
            private String tid;
            @SerializedName("title")
            private String title;
            @SerializedName("keys")
            private Object keys;
            @SerializedName("content")
            private String content;
            @SerializedName("url")
            private String url;
            @SerializedName("cover")
            private String cover;
            @SerializedName("status")
            private String status;
            @SerializedName("view")
            private String view;
            @SerializedName("comment")
            private String comment;
            @SerializedName("choice")
            private String choice;
            @SerializedName("create_time")
            private String createTime;
            @SerializedName("tname")
            private String tname;
            @SerializedName("type")
            private String type;

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getTid() {
                return tid;
            }

            public void setTid(String tid) {
                this.tid = tid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public Object getKeys() {
                return keys;
            }

            public void setKeys(Object keys) {
                this.keys = keys;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getView() {
                return view;
            }

            public void setView(String view) {
                this.view = view;
            }

            public String getComment() {
                return comment;
            }

            public void setComment(String comment) {
                this.comment = comment;
            }

            public String getChoice() {
                return choice;
            }

            public void setChoice(String choice) {
                this.choice = choice;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getTname() {
                return tname;
            }

            public void setTname(String tname) {
                this.tname = tname;
            }
        }
    }
}
